Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@coreh
coreh / README.md
Last active August 27, 2026 04:45
Mac OS X Server 1.0 and current macOS AppKit titlebar-button binary analysis

Mac OS X Server 1.0 titlebar-button investigation

TL;DR

Confirmed: both Mac OS X Server 1.0's PowerPC AppKit and current ARM64e AppKit create and add the titlebar controls in the same semantic order: close, zoom, then miniaturize. Because later-added sibling views are in front, the miniaturize button is above both the close and zoom buttons when they overlap. The positioning code is also in AppKit in both releases: Server 1.0 uses NSTitledFrame origin methods plus _tileTitlebar; current macOS uses

@ongkiii
ongkiii / IPA-Sources.md
Last active August 27, 2026 04:41
REPOS/TELEGRAM CHANNELS LIST BY u/angkitbharadwaj
@MartinEesmaa
MartinEesmaa / youtube_formats.md
Last active August 27, 2026 04:40 — forked from AgentOak/youtube_formats.md
Youtube Format IDs

Note: This is all almost full YouTube ID informations. Original owner goes to AgentOak, modified version by Martin Eesmaa.

See the credits and also special thanks in below.

Before this gist has been forked, AgentOak made original gist on November 13 2019 and it was last updated on May 5 2021.

From now on, this forked gist is maintained by Martin Eesmaa since 17 September 2022. I joined to yt-dlp Discord server on 3rd April 2026 with my Discord username: martineesmaa.

Last updated: 20 August 2026

{
"name": "StakingPool",
"address": "0xddaAd340b0f1Ef65169Ae5E41A8b10776a75482d",
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
require "digest"
require "rack"
# This class encapsulates a unit of work done for a particular tenant, connected to that tenant's database.
# ActiveRecord makes it _very_ hard to do in a simple manner and clever stuff is required, but it is knowable.
#
# What this class provides is a "misuse" of the database "roles" of ActiveRecord to have a role per tenant.
# If all the tenants are predefined, it can be done roughly so:
#
# ActiveRecord::Base.legacy_connection_handling = false if ActiveRecord::Base.respond_to?(:legacy_connection_handling)